package com.applet.orderdetail.mapper;

import com.applet.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单详细  mapper
 */
@Mapper
public interface OrderDetailMapper {


    /**
     * 新增订单明细
     */
    Integer insert(OrderDetail orderDetail);


    /**
     * 根据订单id 查询订单明细列表
     */
    List<OrderDetail> selectOrderDetailListByOrderId(@Param("orderId")Long orderId);
}
